<div class="servicios view">
<h2><?php  __('Servicio');?></h2>
	<table<?php $i = 0; $class = ' class="altrow"';?>
>
		</tr>			<td<?php if ($i % 2 == 0) echo $class;?>><?php __('Nm Servicio'); ?></td>
			<td<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $servicio['Servicio']['nm_servicio']; ?>
			&nbsp;
		</td>
		</tr>		</tr>			<td<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></td>
			<td<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $servicio['Servicio']['id']; ?>
			&nbsp;
		</td>
		</tr>	</table>
</div>
<div class="actions">
	<h3><?php __('Acciones'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Editar Servicio', true), array('action' => 'edit', $servicio['Servicio']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Eliminar Servicio', true), array('action' => 'delete', $servicio['Servicio']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $servicio['Servicio']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Lista Servicio', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nuevo Servicio', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('Lista Entregables', true), array('controller' => 'entregables', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Lista Precios', true), array('controller' => 'precios', 'action' => 'index')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Entregables Relacionados');?></h3>
	<?php if (!empty($servicio['Entregable'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Servicio Id'); ?></th>
		<th><?php __('Nm Entregable'); ?></th>
		<th class="actions"><?php __('Acciones');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($servicio['Entregable'] as $entregable):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $entregable['id'];?></td>
			<td><?php echo $entregable['servicio_id'];?></td>
			<td><?php echo $entregable['nm_entregable'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('Ver', true), array('controller' => 'entregables', 'action' => 'view', $entregable['id'])); ?>
				<?php echo $this->Html->link(__('Editar', true), array('controller' => 'entregables', 'action' => 'edit', $entregable['id'])); ?>
				<?php echo $this->Html->link(__('Eliminar', true), array('controller' => 'entregables', 'action' => 'delete', $entregable['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $entregable['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('Nuevo Entregable', true), array('controller' => 'entregables', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Precios Relacionados');?></h3>
	<?php if (!empty($servicio['Precio'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Servicio Id'); ?></th>
		<th><?php __('Fl Actualiza'); ?></th>
		<th><?php __('Precio'); ?></th>
		<th class="actions"><?php __('Acciones');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($servicio['Precio'] as $precio):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $precio['id'];?></td>
			<td><?php echo $precio['servicio_id'];?></td>
			<td><?php echo $precio['fl_actualiza'];?></td>
			<td><?php echo $precio['precio'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('Ver', true), array('controller' => 'precios', 'action' => 'view', $precio['id'])); ?>
				<?php echo $this->Html->link(__('Editar', true), array('controller' => 'precios', 'action' => 'edit', $precio['id'])); ?>
				<?php echo $this->Html->link(__('Eliminar', true), array('controller' => 'precios', 'action' => 'delete', $precio['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $precio['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('Nuevo Precio', true), array('controller' => 'precios', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Servicios por Orden relacionados');?></h3>
	<?php if (!empty($servicio['Servordene'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Ordene Id'); ?></th>
		<th><?php __('Servicio Id'); ?></th>
		<th><?php __('Posicion'); ?></th>
		<th><?php __('Cantidad'); ?></th>
		<th class="actions"><?php __('Acciones');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($servicio['Servordene'] as $servordene):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $servordene['id'];?></td>
			<td><?php echo $servordene['ordene_id'];?></td>
			<td><?php echo $servordene['servicio_id'];?></td>
			<td><?php echo $servordene['posicion'];?></td>
			<td><?php echo $servordene['cantidad'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('Ver', true), array('controller' => 'servordenes', 'action' => 'view', $servordene['id'])); ?>
				<?php echo $this->Html->link(__('Editar', true), array('controller' => 'servordenes', 'action' => 'edit', $servordene['id'])); ?>
				<?php echo $this->Html->link(__('Eliminar', true), array('controller' => 'servordenes', 'action' => 'delete', $servordene['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $servordene['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('Nuevo Servicio por Orden', true), array('controller' => 'servordenes', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
